<?php
namespace app\Http\Controllers\Pay;

class Config{
    private $cfg = array(
        'url'=>'https://pay.swiftpass.cn/pay/gateway',
        'mchId'=>'102510504261',
        'key'=>'cda1e8ba97e22dfe611e85392d71a273',
        'version'=>'2.0',
        'sub_appid'=>'wx4a966dcd12887298',
       );
    
    public function C($cfgName){
        return $this->cfg[$cfgName];
    }
}
?>
